<?php

declare(strict_types=1);

use Hyperf\HttpServer\Router\Router;

Router::get('/', function () {
    return 'hello,hyperf!';
});

Router::get('/show', 'App\Controller\IndexController@show');
Router::get('/member', 'App\Controller\IndexController@memberSearch');
Router::post('/member', 'App\Controller\IndexController@memberAdd');
Router::get('/answer', 'App\Controller\IndexController@answerList');
Router::post('/answer', 'App\Controller\IndexController@answerAdd');
Router::post('/result', 'App\Controller\IndexController@resultAdd');
